package bma.common.thrift.ai;

import org.apache.thrift.TBase;
import org.apache.thrift.TException;

import bma.common.langutil.ai.stack.AIStack;

/**
 * 支持AI方式的Thrift调用器
 * 
 * @author guanzhong
 * 
 */
public interface AIThriftInvoker {

	public <TYPE> boolean invoke(AIStack<TYPE> stack, int seqid, TBase result,
			String moduleName, String name, TBase avgs) throws TException;

}
